package com.spc.dao;

import com.github.pagehelper.Page;
import com.spc.pojo.Address;

import java.util.List;

public interface MapDao {
    List<Address> findAll();

    Page<Address> findByCondition(String queryString);

    void deleteById(Integer id);

    void add(Address address);
}
